home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Add-Ons / MacPerl / Droplet / MPExtension.r < prev    next >
Text File  |  1994-11-25  |  995b  |  34 lines

  1. /*********************************************************************
  2. Project    :    MacPerl            -    Real Perl Application
  3. File        :    MPExtension.r    -    Common definitions for extensions
  4. Authors    :    Matthias Neeracher & Tim Endres
  5. Language    :    MPW C
  6.  
  7. $Log: MacPerl.r,v $
  8. *********************************************************************/
  9.  
  10. #define SERsrcBase    32700
  11.  
  12. #ifndef MPEXT_VERSION
  13. #define MPEXT_VERSION '0100'
  14. #endif
  15.  
  16. type 'McPp' {
  17.     literal     longint = MPEXT_VERSION;
  18.     literal     longint;                                        /* Extension ID                        */
  19.     literal     longint;                                        /* Type of created file                */
  20.     literal     longint;                                        /* Creator of created file            */
  21.     boolean     noBundle,         wantsBundle;
  22.     boolean     noCustomIcon,     hasCustomIcon;
  23.     fill         bit[30];
  24. };
  25.  
  26. type 'McPs' {
  27.     wide array {
  28.         literal longint;                                        /* Resource type in extension        */
  29.         literal longint;                                        /* Resource type in created file    */
  30.         integer;                                                    /* Original resource ID                */
  31.         integer;                                                    /* New resource ID                    */                            
  32.     };
  33. };
  34.